package org.breezeiot.protodecode.dataobject;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;

public class DataPowerDemand extends DataPowerDemandKey {
    private BigDecimal demandMax;

    private Date occurTime;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public BigDecimal getDemandMax() {
        return demandMax;
    }

    public void setDemandMax(BigDecimal demandMax) {
        this.demandMax = demandMax;
    }

    public Date getOccurTime() {
        return occurTime;
    }

    public void setOccurTime(Date occurTime) {
        this.occurTime = occurTime;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}